package model;

public class Variable implements CommandParameter {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2850930622670201230L;
	private String name;

	public String getName() {
		return name;
	}

	public Variable(String name) {
		this.name = name;
	}

	@Override
	public boolean equals(Object o) {
		if (o instanceof Variable
				&& ((Variable) o).getName().equals(this.getName())) {
			return true;
		}
		return false;
	}
}
